import { Text,TouchableOpacity } from 'react-native';


const Btn = ({ style, font, children, ...rest }) => {
    return (
        <TouchableOpacity
            {...rest}
            style={
                [style,
                    { justifyContent: 'center', alignItems: 'center' }
                ]
            }
        >
            <Text style={font}>{children}</Text>
        </TouchableOpacity>
    )
}

export default Btn;